.class Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;
.super Landroid/widget/BaseAdapter;
.source "BalanceParticularActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/m6wmr/BalanceParticularActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "MyAdapter"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/BalanceParticularActivity;


# direct methods
.method private constructor <init>(Lcom/example/m6wmr/BalanceParticularActivity;)V
    .locals 0

    .prologue
    .line 389
    iput-object p1, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/example/m6wmr/BalanceParticularActivity;Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;)V
    .locals 0

    .prologue
    .line 389
    invoke-direct {p0, p1}, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;-><init>(Lcom/example/m6wmr/BalanceParticularActivity;)V

    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 394
    iget-object v0, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->beans:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/BalanceParticularActivity;->access$0(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .param p1, "arg0"    # I

    .prologue
    .line 400
    iget-object v0, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->beans:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/BalanceParticularActivity;->access$0(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .param p1, "arg0"    # I

    .prologue
    .line 406
    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 4
    .param p1, "arg0"    # I
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # Landroid/view/ViewGroup;

    .prologue
    const/4 v3, 0x0

    .line 413
    if-nez p2, :cond_0

    .line 414
    new-instance v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;

    invoke-direct {v0, v3}, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;-><init>(Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;)V

    .line 415
    .local v0, "holder":Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;
    iget-object v1, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->context:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/BalanceParticularActivity;->access$1(Lcom/example/m6wmr/BalanceParticularActivity;)Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f030055

    invoke-static {v1, v2, v3}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 416
    const v1, 0x7f0c0231

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_money:Landroid/widget/TextView;

    .line 417
    const v1, 0x7f0c0230

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_time:Landroid/widget/TextView;

    .line 418
    const v1, 0x7f0c022f

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_type:Landroid/widget/TextView;

    .line 420
    invoke-virtual {p2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 425
    :goto_0
    iget-object v2, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_time:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->beans:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6wmr/BalanceParticularActivity;->access$0(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BalanceParticularBean;

    invoke-virtual {v1}, Lbean/BalanceParticularBean;->getAddtime()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 426
    iget-object v1, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->beans:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6wmr/BalanceParticularActivity;->access$0(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BalanceParticularBean;

    invoke-virtual {v1}, Lbean/BalanceParticularBean;->getType()Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 427
    iget-object v1, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_type:Landroid/widget/TextView;

    const-string v2, "\u5145\u503c"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 428
    iget-object v2, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_money:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v1, "+"

    invoke-direct {v3, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->beans:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6wmr/BalanceParticularActivity;->access$0(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BalanceParticularBean;

    invoke-virtual {v1}, Lbean/BalanceParticularBean;->getResult()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 429
    iget-object v1, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_money:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->context:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/BalanceParticularActivity;->access$1(Lcom/example/m6wmr/BalanceParticularActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f070022

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 438
    :goto_1
    return-object p2

    .line 422
    .end local v0    # "holder":Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;
    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;

    .restart local v0    # "holder":Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;
    goto :goto_0

    .line 432
    :cond_1
    iget-object v1, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_type:Landroid/widget/TextView;

    const-string v2, "\u6d88\u8d39"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 433
    iget-object v2, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_money:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v1, "-"

    invoke-direct {v3, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->beans:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6wmr/BalanceParticularActivity;->access$0(Lcom/example/m6wmr/BalanceParticularActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BalanceParticularBean;

    invoke-virtual {v1}, Lbean/BalanceParticularBean;->getResult()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 434
    iget-object v1, v0, Lcom/example/m6wmr/BalanceParticularActivity$MyHolder;->tv_deal_money:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/example/m6wmr/BalanceParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/BalanceParticularActivity;

    # getter for: Lcom/example/m6wmr/BalanceParticularActivity;->context:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/BalanceParticularActivity;->access$1(Lcom/example/m6wmr/BalanceParticularActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f07000c

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1
.end method
